<%@ page contentType="text/html; charset=UTF-8" language="java" import="com.business.user.PermissList" errorPage="/error.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理组描述</title>
<style type="text/css">
<!--
@import url("../images/css.css");
.style1 {font-size: 13px}
-->
</style>
<script language="javascript">
<!--
function selectidall()
{
	for(i=0;i<document.theform.checked.length;i++)
	{
		document.theform.checked[i].checked = !document.theform.checked[i].checked;
	}
}
//--></script>
</head>

<body>
<jsp:useBean id="groupdetail" class="com.beans.user.GroupDetail" scope="page"/>

<%String GroupNo=request.getParameter("no");
groupdetail.setGroupInfo(GroupNo);%>
<form action="/manageadmingroup" method="post" name="theform" id="theform">
  <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF9900">
    <tr bgcolor="#FFFFFF" class="table-bg">
      <td height="30" colspan="2" align="center" class="t13 style1">编辑管理员组</td>
    </tr>
    <tr bgcolor="#FFFFFF" class="table-bg">
      <td width="25%" height="25" align="center"><div align="right" class="style1">
        <div align="center">管理员组名称:</div>
      </div></td>
      <td width="75%" height="25"><span class="style1">
        <input name="groupname" type="text" id="groupname" value="<%=groupdetail.getGroupName()%>">
        <input name="groupno" type="hidden" id="groupno" value="<%=GroupNo%>">
      </span></td>
    </tr>
    <tr bgcolor="#FFFFFF" class="table-bg">
      <td height="25" align="center"><div align="right" class="style1">
          <P align="center" class=boxtext>说明:</P>
      </div></td>
      <td height="25"><span class="style1">
        <textarea name="groupdesc" cols="30" rows="8" id="groupdesc"><%=groupdetail.getMemo()%></textarea>
      </span></td>
    </tr>
	<tr bgcolor="#FFFFFF" class="table-bg">
    <td height="25" align="center"><div align="right" class="style1">
      <P align="center" class=boxtext>分组权限:</P>
    </div></td>
    <td height="25"><span class="style1">
	<% PermissList rePL=new PermissList();
	String rePermiss=rePL.rePermisses(GroupNo);
	out.print(rePermiss);
	%>
    </span></td>
  </tr>
    <tr bgcolor="#FFFFFF" class="table-bg">
      <td height="35" colspan="2" align="center"><span class="style1">
        <input name="edit" type="submit" id="edit" value=" 编 辑 ">
        <input type="reset" name="Submit" value=" 重 置 ">
        <input type="button" name="Submit" value=" 全选 "  onClick="selectidall()">
</span></td>
    </tr>
  </table>
</form>
</body>
</html>
